package cn.pconline.autoclub.util.ubb;

/**
 * UBB 节点对象接口
 * @author xhchen
 */
public interface Node {
	String getName();
	String getAttribute();
	StringBuilder getText(java.util.LinkedList<Node> stack);
	StringBuilder getText();
    StringBuilder getImgText(java.util.LinkedList<Node> stack);
    StringBuilder getImgText();
	void appendText(CharSequence text);
	void appendNode(Node node, java.util.LinkedList<Node> stack);
    void appendImgNode(Node node, java.util.LinkedList<Node> stack);
	Node copyWithoutText();
	Node build(String name, String attribute);
}
